package com.landscope.central.config;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author 瞿子朋
 * @version v1.0
 * @date 2020/10/23 15:49
 **/
@Component
@Order(value = 1) // 1 代表启动顺序
public class StartServer implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) {
        System.out.println("--------------滑坡监测系统启动成功--------------");
    }
}
